package com.hdx.server.service;


import com.hdx.model.entity.AddressBook;

import java.util.List;

public interface AddressBookService {
    List<AddressBook> getAllAddressBook();

    void save(AddressBook addressBook);


    AddressBook getById(Long id);

    void update(AddressBook addressBook);

    void setDefault(AddressBook addressBook);

    void deleteById(Long id);


    List<AddressBook> getDefault();
}
